<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
</head>
<body background="pic/ManBgroud.gif">
	<form action="AddNews" method="post"> <!-- enctype="multipart/form-data" -->
		所属板块：<select name="board">
		<c:if test="${not empty boardList }">
			<c:forEach items="${boardList }" var="b">
				<option value="${b.b_id }">${b.b_name }</option>
			</c:forEach>
		</c:if>
		</select><br/>
		新闻标题：<input type="text" name="n_title"><br/>
		新闻内容：<textarea rows="3" cols="20" name="n_context"></textarea><br/>
		图片：<input type="file" name="n_picture"><br/>
		<input type="submit" value="添加">
		
	
	</form>

</body>
</html>